﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindow.Enums
{
    public enum OmronHeaderCodeType : byte
    {
        #region I/O内存读
        /// <summary>
        /// CIO区域阅读
        /// </summary>
        RR = 0x01,
        /// <summary>
        /// LR区域读取
        /// </summary>
        RL,
        /// <summary>
        /// HR区域读取
        /// </summary>
        RH,
        /// <summary>
        /// 计时器/计数器PV读取
        /// </summary>
        RC,
        /// <summary>
        /// 定时器/计数器状态读取
        /// </summary>
        RG,
        /// <summary>
        /// DM区读
        /// </summary>
        RD,
        /// <summary>
        /// AR区读
        /// </summary>
        RJ,
        /// <summary>
        /// EM区读
        /// </summary>
        RE,
        #endregion

        #region I/O内存写
        /// <summary>
        ///  CIO区写
        /// </summary>
        WR,
        /// <summary>
        /// LR区写
        /// </summary>
        WL,
        /// <summary>
        /// HR区写
        /// </summary>
        WH,
        /// <summary>
        /// 计时器/计数器PV写入
        /// </summary>
        WC,
        /// <summary>
        /// DM区写
        /// </summary>
        WD,
        /// <summary>
        ///  AR区写
        /// </summary>
        WJ,
        /// <summary>
        /// EM区写
        /// </summary>
        WE,
        #endregion
        #region 定时器/计数器SV读数

        #endregion
    }
}
